// 首页界面接口
import { get, post, put, deletefn } from "../api/request";

//  商戶列表
export const getMerchantList = params => get(`/v1/manager/yingshengMerchant/getMerchantList`, params)

// 商户转平台
export const merchantInner = params => post(`/v1/manager/yingshengMerchant/merchantInner`, params)

export const merchantPlatorm = params => post(`/v1/manager/yingshengMerchant/merchantPlatorm`, params)

// 子商户明细
export const getMerchantTransferLog = params => get(`/v1/manager/yingshengMerchant/getMerchantTransferLog`, params)

//商户转平台订单
export const getMerchantTransfer = params => get(`/v1/manager/yingshengMerchant/getMerchantTransfer`, params)

//查询商户状态
export const queryMerchant = params => post(`/v1/manager/yingshengMerchant/queryMerchant`, params)

//签约发送请求
export const contractSign = params => post(`/v1/manager/yingshengMerchant/contractSign`, params)

//上传图片
export const uploadUrl = params => post(`/v1/manager/yingshengMerchant/uploadurl`, params)



//新增商户
export const insertMerchant = params => post(`/v1/manager/yingshengMerchant/insertMerchant`, params)



//查询商户
export const queryMerchantInfo = params => post(`/v1/manager/yingshengMerchant/queryMerchantInfo`, params)


//进件商户
export const addMechant = params => post(`/v1/manager/yingshengMerchant/addMechant`, params)


